home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML Instance.sea / XML Instance / Required / ldapjdk.jar / netscape / ldap / ber / stream / BERAny.class (.txt) next >
Encoding:
Java Class File  |  1999-04-13  |  1.0 KB  |  30 lines

  1. package netscape.ldap.ber.stream;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5. import java.io.OutputStream;
  6.  
  7. public class BERAny extends BERElement {
  8.    private BERElement m_value;
  9.  
  10.    public BERAny(BERElement var1) {
  11.       this.m_value = var1;
  12.    }
  13.  
  14.    public BERAny(BERTagDecoder var1, InputStream var2, int[] var3) throws IOException {
  15.       this.m_value = BERElement.getElement(var1, var2, var3);
  16.    }
  17.  
  18.    public void write(OutputStream var1) throws IOException {
  19.       this.m_value.write(var1);
  20.    }
  21.  
  22.    public int getType() {
  23.       return -3;
  24.    }
  25.  
  26.    public String toString() {
  27.       return "ANY {" + this.m_value + "}";
  28.    }
  29. }
  30.